package com.dayu.design.行为型.责任链模式;

/**
 * @author dayu
 * @create 2025-03-27 11:11
 */
public abstract class Handler {
    protected Handler nextHandler;
        public void setNextHandler(Handler handler){
            nextHandler=handler;
        }

        public abstract void handleRequest(String request);
}
